Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add support for discovery media in minio #42

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

Faraz32123
Copy link
Collaborator

When Minio's init script will run, it will check if discovery is enabled in the tutor setup. If it's enabled, it'll create it's bucket. I have also added discovery patch which will override course_discovery settings to shift from file storage to minio s3 storage.

close #41.

@Faraz32123 Faraz32123 force-pushed the feat/add_separate_bucket_for_discovery branch from eca7696 to 0e046e7 Compare July 2, 2024 11:27
@Faraz32123 Faraz32123 self-assigned this Jul 2, 2024
@Faraz32123 Faraz32123 force-pushed the feat/add_separate_bucket_for_discovery branch 2 times, most recently from 8d9aa9c to 5f378e4 Compare July 2, 2024 11:35
tutorminio/plugin.py Outdated Show resolved Hide resolved
@Faraz32123 Faraz32123 force-pushed the feat/add_separate_bucket_for_discovery branch 2 times, most recently from 1aa3c98 to daaa43b Compare July 3, 2024 09:16
@Faraz32123 Faraz32123 requested a review from DawoudSheraz July 3, 2024 09:17
Copy link
Contributor

@DawoudSheraz DawoudSheraz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we have had a plugin relying on another plugin prior but looks alright.

@hinakhadim
Copy link

@regisb Kindly have a look on this.

tutorminio/plugin.py Outdated Show resolved Hide resolved
@Faraz32123 Faraz32123 requested a review from regisb July 24, 2024 06:52
Copy link
Contributor

@regisb regisb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, great job :)

Muhammad Faraz Maqsood added 2 commits August 13, 2024 17:50
Run init script for minio to create a bucket for discovery
after enabling discovery plugin.
@Faraz32123 Faraz32123 force-pushed the feat/add_separate_bucket_for_discovery branch from 5853c81 to 40ef140 Compare August 13, 2024 12:51
@Faraz32123 Faraz32123 merged commit d5dd449 into master Aug 13, 2024
2 checks passed
@Faraz32123 Faraz32123 deleted the feat/add_separate_bucket_for_discovery branch August 13, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

minio plugin doesn't have support for storing discovery media files
4 participants